#include<stdio.h>
void main()
{
 int i,j,count;
 i=1;j=2;count=1;
 while(count<=100)
  {
   printf("%d  ",i);
   i=i+j;
   j++;
   count++;
   }
  printf("\n");
 }
